package Exercicios;


public class Threads2 implements Runnable{

	/**
	 * Pode ser impresso:
	 * - End of method.
	 * - run.
	 * - Problem
	 * ou
	 * run.
	 * Problem.
	 * End of method.
	 * @param args
	 */
	public static void main(String[] args) {
		Thread t = new Thread(new Threads2());
		t.start();
		System.out.println("End of method.");
	}

	public void run() {
		System.out.println("run.");
		throw new RuntimeException("Problem");
	}
}
